package com.lei.day11_17work;

public class AnimaMessage {
    private String UserName;
    private int giftNum;
    private String giftName;
    private boolean isComboAnimationOver;//判断当前动画连击是否完成
    private long updateTime;//当前礼物展示时间，用于对比礼物是否三秒消失

    public AnimaMessage(String userName, int giftNum, String giftName) {
        UserName = userName;
        this.giftNum = giftNum;
        this.giftName = giftName;
    }

    public String getUserName() {
        return UserName;
    }

    public void setUserName(String userName) {
        UserName = userName;
    }

    public int getGiftNum() {
        return giftNum;
    }

    public void setGiftNum(int giftNum) {
        this.giftNum = giftNum;
    }

    public String getGiftName() {
        return giftName;
    }

    public void setGiftName(String giftName) {
        this.giftName = giftName;
    }

    public boolean isComboAnimationOver() {
        return isComboAnimationOver;
    }

    public void setComboAnimationOver(boolean comboAnimationOver) {
        isComboAnimationOver = comboAnimationOver;
    }

    public long getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(long updateTime) {
        this.updateTime = updateTime;
    }
}
